Dependencies:
* gcc. This is the C compiler.
* pkg-config. This is a program that supports gcc in finding code libraries.
* gtk+3.0 development libraries. This is the code used for the graphical user interface.
* libcurl development libraries. This is the code used for networking.



How to install the dependencies on Debian Linux:
* sudo apt-get install gcc
* sudo apt-get install pkg-config
* sudo apt-get install libgtk-3-dev
* sudo apt-get install libcurl4-openssl-dev



How to install the dependencies on other Linux distributions:
* Just use Google to find the name of the packages you need to install. For example, if I was on Ubuntu, I could Google "ubuntu libcurl development package" and the package name for Ubuntu comes up.



How to compile and run once you have the dependencies installed:
Step 1 - Download the code. If you have git installed, you can clone the repo that way. Otherwise just download the code as a ZIP file from here: https://notabug.org/moron/bitport-ez/archive/master.zip and extract it.
Step 2 - Open your terminal and navigate to where you downloaded the source code. If you don't know how to do this, it's just the command "cd <path to folder>". If you type "ls" in the terminal, you should see a bunch of files like "main.c", "gui.c", and "build" listed.
-------------------
Step 3 - You need to create a file called "secret.h" where you put the application ID and application secret code from https://bitport.io/api/list-of-applications. To do this, type "nano secret.h" in the terminal. Once there, type the following WITH quotation marks:

	#define TESTAPPID "your app ID here"
	#define TESTAPPSECRET "your app's secret code here"

	An example would look like this:
	#define TESTAPPID "27495"
	#define TESTAPPSECRET "384hd5aew9"

	Once you've typed that, press CTRL+X and then type "y" when it asks you to save the file or not.
-------------------
Step 4 - Type "chmod +x ./build". This makes it so you can execute the script used to build compile the code.
Step 5 - Type "./build".
Step 6 - If there were no errors when you built the program, type "./a.out" to run the program.